package com.example.hospital_208.service;

import com.example.hospital_208.po.MedicalRecord;

import java.util.List;

public interface MedicalRecordService {
    List<MedicalRecord> listMedicalRecords();

    MedicalRecord getMedicalRecordById(Integer recordId);

    int addMedicalRecord(MedicalRecord medicalRecord);
    MedicalRecord getMedicalRecordByUserId(Integer userId);
    int editMedicalRecord(MedicalRecord medicalRecord);

    int removeMedicalRecord(Integer recordId);
}